package com.zy.teacherSecretarySide.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.teacherSecretarySide.entity.TeacherSecretary;


/**
 * @author qu
 */
public interface ITeacherSecretaryService extends IService<TeacherSecretary> {

    /**
     * 根据教师秘书的编号和密码进行查询
     * @param secretaryNum
     * @param secretaryPassword
     * @return TeacherSecretary
     */
    TeacherSecretary teacherSecretaryLogin(Integer secretaryNum, String secretaryPassword);

    /**
     * 根据教学秘书编号查重
     * @param secretaryNum
     * @return TeacherSecretary
     */
    TeacherSecretary getSecretaryById(Integer secretaryNum);
}
